package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺支付信息绑定表
 * </p>
 *
 * @author lcc
 * @since 2020-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BmsBusinessInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商家ID
     */
    private Integer businessId;

    /**
     * 银行卡账号
     */
    private String bankAccount;

    /**
     * 银行卡所属银行
     */
    private String bankName;

    /**
     * 持有人姓名
     */
    private String cardUser;

    /**
     * 银行卡账号启用状态（0：关闭，1：开启）
     */
    private Integer cardStatus;

    /**
     * 银行卡新增时间
     */
    private LocalDateTime cardNewTime;

    /**
     * 新增银行卡管理员ID
     */
    private String addCardId;

    /**
     * 银行卡信息是否正确（1：正确；0：错误）
     */
    private Integer cardCorrect;

    /**
     * 支付宝账号
     */
    private String alipayAccount;

    /**
     * 支付宝UID
     */
    private String alipayUid;

    /**
     * 支付宝账号类型（1：个人，2：企业）
     */
    private Integer alipayType;

    /**
     * 支付宝账号名称
     */
    private String alipayUser;

    /**
     * 支付宝启用状态（0：关闭[待确认]，1：开启）
     */
    private Integer alipayStatus;

    /**
     * 支付宝新增时间
     */
    private LocalDateTime alipayNewTime;

    /**
     * 新增支付宝管理员ID
     */
    private String addAlipayId;

    /**
     * 支付宝信息是否正确（1：正确，0：错误[已驳回] null:待确认）
     */
    private Integer alipayCorrect;


    public static final String ID = "id";

    public static final String BUSINESS_ID = "business_id";

    public static final String BANK_ACCOUNT = "bank_account";

    public static final String BANK_NAME = "bank_name";

    public static final String CARD_USER = "card_user";

    public static final String CARD_STATUS = "card_status";

    public static final String CARD_NEW_TIME = "card_new_time";

    public static final String ADD_CARD_ID = "add_card_id";

    public static final String CARD_CORRECT = "card_correct";

    public static final String ALIPAY_ACCOUNT = "alipay_account";

    public static final String ALIPAY_UID = "alipay_uid";

    public static final String ALIPAY_TYPE = "alipay_type";

    public static final String ALIPAY_USER = "alipay_user";

    public static final String ALIPAY_STATUS = "alipay_status";

    public static final String ALIPAY_NEW_TIME = "alipay_new_time";

    public static final String ADD_ALIPAY_ID = "add_alipay_id";

    public static final String ALIPAY_CORRECT = "alipay_correct";

}
